package com.cnswhy.cloud.server.core.entity;

/**
 * ClaseName：IdCardResults
 * Description：
 * Author：JensenWei
 * QQ: 2188307188
 * Createtime：2018/3/12 15:00
 * Modified By：
 * Fixtime：2018/3/12 15:00
 * FixDescription：
 */
public class IdCardResults {


    /**
     * log_id : 5740943392589681562
     * words_result_num : 6
     * direction : 0
     * image_status : normal
     * words_result : {"address":{"location":{"width":133,"top":105,"height":45,"left":104},"words":"山东屿胺州市七词村号分号370281199101301018"},"birthDay":{"location":{"width":0,"top":0,"height":0,"left":0},"words":"19910130"},"name":{"location":{"width":27,"top":56,"height":9,"left":104},"words":"匡尧尧"},"idNo":{"location":{"width":100,"top":144,"height":6,"left":137},"words":"370281199101301018"},"sex":{"location":{"width":5,"top":74,"height":6,"left":104},"words":"男"},"nation":{"location":{"width":5,"top":74,"height":6,"left":144},"words":"汉"}}
     */

    private long log_id;
    private int words_result_num;
    private int direction;
    private String image_status;
    private WordsResultBean words_result;

    public long getLog_id() {
        return log_id;
    }

    public void setLog_id(long log_id) {
        this.log_id = log_id;
    }

    public int getWords_result_num() {
        return words_result_num;
    }

    public void setWords_result_num(int words_result_num) {
        this.words_result_num = words_result_num;
    }

    public int getDirection() {
        return direction;
    }

    public void setDirection(int direction) {
        this.direction = direction;
    }

    public String getImage_status() {
        return image_status;
    }

    public void setImage_status(String image_status) {
        this.image_status = image_status;
    }

    public WordsResultBean getWords_result() {
        return words_result;
    }

    public void setWords_result(WordsResultBean words_result) {
        this.words_result = words_result;
    }

    public static class WordsResultBean {
        /**
         * address : {"location":{"width":133,"top":105,"height":45,"left":104},"words":"山东屿胺州市七词村号分号"}
         * birthDay : {"location":{"width":0,"top":0,"height":0,"left":0},"words":"19910130"}
         * name : {"location":{"width":27,"top":56,"height":9,"left":104},"words":"匡尧尧"}
         * idNo : {"location":{"width":100,"top":144,"height":6,"left":137},"words":"370281199101301018"}
         * sex : {"location":{"width":5,"top":74,"height":6,"left":104},"words":"男"}
         * nation : {"location":{"width":5,"top":74,"height":6,"left":144},"words":"汉"}
         */

        private AddressBean address;
        private BirthDayBean birthDay;
        private NameBean name;
        private IdNoBean idNo;
        private SexBean sex;
        private NationBean nation;
        private EffectDateDateBean effectDate;
        private InvalidDateBean invalidDate;
        private AgencyDateBean agency;

        public AddressBean getAddress() {
            return address;
        }

        public void setAddress(AddressBean address) {
            this.address = address;
        }

        public BirthDayBean getBirthDay() {
            return birthDay;
        }

        public void setBirthDay(BirthDayBean birthDay) {
            this.birthDay = birthDay;
        }

        public NameBean getName() {
            return name;
        }

        public void setName(NameBean name) {
            this.name = name;
        }

        public IdNoBean getIdNo() {
            return idNo;
        }

        public void setIdNo(IdNoBean idNo) {
            this.idNo = idNo;
        }

        public SexBean getSex() {
            return sex;
        }

        public void setSex(SexBean sex) {
            this.sex = sex;
        }

        public NationBean getNation() {
            return nation;
        }

        public void setNation(NationBean nation) {
            this.nation = nation;
        }

        public EffectDateDateBean getEffectDate() {
            return effectDate;
        }

        public void setEffectDate(EffectDateDateBean effectDate) {
            this.effectDate = effectDate;
        }

        public InvalidDateBean getInvalidDate() {
            return invalidDate;
        }

        public void setInvalidDate(InvalidDateBean invalidDate) {
            this.invalidDate = invalidDate;
        }

        public AgencyDateBean getAgency() {
            return agency;
        }

        public void setAgency(AgencyDateBean agency) {
            this.agency = agency;
        }

        public static class AddressBean {
            /**
             * location : {"width":133,"top":105,"height":45,"left":104}
             * words : 山东屿胺州市七词村号分号
             */

            private LocationBean location;
            private String words;

            public LocationBean getLocation() {
                return location;
            }

            public void setLocation(LocationBean location) {
                this.location = location;
            }

            public String getWords() {
                return words;
            }

            public void setWords(String words) {
                this.words = words;
            }

            public static class LocationBean {
                /**
                 * width : 133
                 * top : 105
                 * height : 45
                 * left : 104
                 */

                private int width;
                private int top;
                private int height;
                private int left;

                public int getWidth() {
                    return width;
                }

                public void setWidth(int width) {
                    this.width = width;
                }

                public int getTop() {
                    return top;
                }

                public void setTop(int top) {
                    this.top = top;
                }

                public int getHeight() {
                    return height;
                }

                public void setHeight(int height) {
                    this.height = height;
                }

                public int getLeft() {
                    return left;
                }

                public void setLeft(int left) {
                    this.left = left;
                }
            }
        }

        public static class BirthDayBean {
            /**
             * location : {"width":0,"top":0,"height":0,"left":0}
             * words : 19910130
             */

            private LocationBeanX location;
            private String words;

            public LocationBeanX getLocation() {
                return location;
            }

            public void setLocation(LocationBeanX location) {
                this.location = location;
            }

            public String getWords() {
                return words;
            }

            public void setWords(String words) {
                this.words = words;
            }

            public static class LocationBeanX {
                /**
                 * width : 0
                 * top : 0
                 * height : 0
                 * left : 0
                 */

                private int width;
                private int top;
                private int height;
                private int left;

                public int getWidth() {
                    return width;
                }

                public void setWidth(int width) {
                    this.width = width;
                }

                public int getTop() {
                    return top;
                }

                public void setTop(int top) {
                    this.top = top;
                }

                public int getHeight() {
                    return height;
                }

                public void setHeight(int height) {
                    this.height = height;
                }

                public int getLeft() {
                    return left;
                }

                public void setLeft(int left) {
                    this.left = left;
                }
            }
        }

        public static class NameBean {
            /**
             * location : {"width":27,"top":56,"height":9,"left":104}
             * words : 匡尧尧
             */

            private LocationBeanXX location;
            private String words;

            public LocationBeanXX getLocation() {
                return location;
            }

            public void setLocation(LocationBeanXX location) {
                this.location = location;
            }

            public String getWords() {
                return words;
            }

            public void setWords(String words) {
                this.words = words;
            }

            public static class LocationBeanXX {
                /**
                 * width : 27
                 * top : 56
                 * height : 9
                 * left : 104
                 */

                private int width;
                private int top;
                private int height;
                private int left;

                public int getWidth() {
                    return width;
                }

                public void setWidth(int width) {
                    this.width = width;
                }

                public int getTop() {
                    return top;
                }

                public void setTop(int top) {
                    this.top = top;
                }

                public int getHeight() {
                    return height;
                }

                public void setHeight(int height) {
                    this.height = height;
                }

                public int getLeft() {
                    return left;
                }

                public void setLeft(int left) {
                    this.left = left;
                }
            }
        }

        public static class IdNoBean {
            /**
             * location : {"width":100,"top":144,"height":6,"left":137}
             * words : 370281199101301018
             */

            private LocationBeanXXX location;
            private String words;

            public LocationBeanXXX getLocation() {
                return location;
            }

            public void setLocation(LocationBeanXXX location) {
                this.location = location;
            }

            public String getWords() {
                return words;
            }

            public void setWords(String words) {
                this.words = words;
            }

            public static class LocationBeanXXX {
                /**
                 * width : 100
                 * top : 144
                 * height : 6
                 * left : 137
                 */

                private int width;
                private int top;
                private int height;
                private int left;

                public int getWidth() {
                    return width;
                }

                public void setWidth(int width) {
                    this.width = width;
                }

                public int getTop() {
                    return top;
                }

                public void setTop(int top) {
                    this.top = top;
                }

                public int getHeight() {
                    return height;
                }

                public void setHeight(int height) {
                    this.height = height;
                }

                public int getLeft() {
                    return left;
                }

                public void setLeft(int left) {
                    this.left = left;
                }
            }
        }

        public static class SexBean {
            /**
             * location : {"width":5,"top":74,"height":6,"left":104}
             * words : 男
             */

            private LocationBeanXXXX location;
            private String words;

            public LocationBeanXXXX getLocation() {
                return location;
            }

            public void setLocation(LocationBeanXXXX location) {
                this.location = location;
            }

            public String getWords() {
                return words;
            }

            public void setWords(String words) {
                this.words = words;
            }

            public static class LocationBeanXXXX {
                /**
                 * width : 5
                 * top : 74
                 * height : 6
                 * left : 104
                 */

                private int width;
                private int top;
                private int height;
                private int left;

                public int getWidth() {
                    return width;
                }

                public void setWidth(int width) {
                    this.width = width;
                }

                public int getTop() {
                    return top;
                }

                public void setTop(int top) {
                    this.top = top;
                }

                public int getHeight() {
                    return height;
                }

                public void setHeight(int height) {
                    this.height = height;
                }

                public int getLeft() {
                    return left;
                }

                public void setLeft(int left) {
                    this.left = left;
                }
            }
        }

        public static class NationBean {
            /**
             * location : {"width":5,"top":74,"height":6,"left":144}
             * words : 汉
             */

            private LocationBeanXXXXX location;
            private String words;

            public LocationBeanXXXXX getLocation() {
                return location;
            }

            public void setLocation(LocationBeanXXXXX location) {
                this.location = location;
            }

            public String getWords() {
                return words;
            }

            public void setWords(String words) {
                this.words = words;
            }

            public static class LocationBeanXXXXX {
                /**
                 * width : 5
                 * top : 74
                 * height : 6
                 * left : 144
                 */

                private int width;
                private int top;
                private int height;
                private int left;

                public int getWidth() {
                    return width;
                }

                public void setWidth(int width) {
                    this.width = width;
                }

                public int getTop() {
                    return top;
                }

                public void setTop(int top) {
                    this.top = top;
                }

                public int getHeight() {
                    return height;
                }

                public void setHeight(int height) {
                    this.height = height;
                }

                public int getLeft() {
                    return left;
                }

                public void setLeft(int left) {
                    this.left = left;
                }
            }
        }
    }

    public static class InvalidDateBean {
        /**
         * location : {"width":5,"top":74,"height":6,"left":144}
         * words : 汉
         */

        private LocationBeanXXXXX location;
        private String words;

        public LocationBeanXXXXX getLocation() {
            return location;
        }

        public void setLocation(LocationBeanXXXXX location) {
            this.location = location;
        }

        public String getWords() {
            return words;
        }

        public void setWords(String words) {
            this.words = words;
        }

        public static class LocationBeanXXXXX {
            /**
             * width : 5
             * top : 74
             * height : 6
             * left : 144
             */

            private int width;
            private int top;
            private int height;
            private int left;

            public int getWidth() {
                return width;
            }

            public void setWidth(int width) {
                this.width = width;
            }

            public int getTop() {
                return top;
            }

            public void setTop(int top) {
                this.top = top;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }

            public int getLeft() {
                return left;
            }

            public void setLeft(int left) {
                this.left = left;
            }
        }
    }

    public static class AgencyDateBean {
        /**
         * location : {"width":5,"top":74,"height":6,"left":144}
         * words : 汉
         */

        private LocationBeanXXXXX location;
        private String words;

        public LocationBeanXXXXX getLocation() {
            return location;
        }

        public void setLocation(LocationBeanXXXXX location) {
            this.location = location;
        }

        public String getWords() {
            return words;
        }

        public void setWords(String words) {
            this.words = words;
        }

        public static class LocationBeanXXXXX {
            /**
             * width : 5
             * top : 74
             * height : 6
             * left : 144
             */

            private int width;
            private int top;
            private int height;
            private int left;

            public int getWidth() {
                return width;
            }

            public void setWidth(int width) {
                this.width = width;
            }

            public int getTop() {
                return top;
            }

            public void setTop(int top) {
                this.top = top;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }

            public int getLeft() {
                return left;
            }

            public void setLeft(int left) {
                this.left = left;
            }
        }
    }

    public static class EffectDateDateBean {
        /**
         * location : {"width":5,"top":74,"height":6,"left":144}
         * words : 汉
         */

        private LocationBeanXXXXX location;
        private String words;

        public LocationBeanXXXXX getLocation() {
            return location;
        }

        public void setLocation(LocationBeanXXXXX location) {
            this.location = location;
        }

        public String getWords() {
            return words;
        }

        public void setWords(String words) {
            this.words = words;
        }

        public static class LocationBeanXXXXX {
            /**
             * width : 5
             * top : 74
             * height : 6
             * left : 144
             */

            private int width;
            private int top;
            private int height;
            private int left;

            public int getWidth() {
                return width;
            }

            public void setWidth(int width) {
                this.width = width;
            }

            public int getTop() {
                return top;
            }

            public void setTop(int top) {
                this.top = top;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }

            public int getLeft() {
                return left;
            }

            public void setLeft(int left) {
                this.left = left;
            }
        }
    }
}
